<include file="Public:head" />
<style>
    tr td{
        text-align: center;
    }
    .width20{
        width: 131px !important;
        margin-left: 10px;
        min-width: 131px;;
    }
    .mingchen{
        width: 300px;
        overflow: hidden;
        display: inline-block;
        white-space: nowrap;
        text-overflow: ellipsis;
        text-align: left;
    }
</style>
<body class="overflow-hidden">
<div class="wrapper preload">
    <include file="Public:header" />
    <include file="Public:left" />

    <div class="main-container">
        <div class="padding-md">
            <div class="row">
                <div class="col-sm-12">
                    <div class="page-title">
                        统计信息
                    </div>
                </div>
            </div>
            <div class="col-sm-12 row chach">

                <form action="__SELF__" id="searchForm" name="searchform"method="get">
                    <div class="right_select">
                        <select class="form-control width20" name="process_id">
                            <option value="">全部状态</option>
                            <volist name="typeList" id="vo">
                                <option value="{$vo.process_id}" <if condition="$data['process_id'] eq $vo['process_id']">selected</if>>{$vo.process_id|getTitleByProcessId}</option>
                            </volist>
                        </select>
                            <input type="text" id="B_number1" class="form-control width20" onClick="WdatePicker()" name="starttime" value="{$data.starttime}" style="width: 100px;">
                            <input type="text" id="B_number2" class="form-control width20" onClick="WdatePicker()" name="endtime" value="{$data.endtime}">
                        <select class="form-control width20" name="status">
                            <option value="xmmc" <if condition="$data['status'] eq 'xmmc'">selected</if>>项目名称</option>
                            <option value="cxh" <if condition="$data['status'] eq 'cxh'">selected</if>>查新号</option>
                            <option value="wtrname" <if condition="$data['status'] eq 'wtrname'">selected</if>>委托人</option>
                        </select>&nbsp;
                        <input style="height: 34px;width: 130px;" type="text" name="param" value="{$data.param}" class="form-control width20">
                        <button class="action-button" type="submit">查&nbsp询</button>

                    </div>
                </form>

            </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="smart-widget widget-green">
                        <div class="smart-widget-header row ">
                            <span class="smart-widget-option">
                                <span class="refresh-icon-animated">
                                    <i class="fa fa-spinner fa-spin" style="color:#fff"></i>
                                </span>
                                <a href="#" class="widget-toggle-hidden-option">
                                </a>
                                <a href="#" class="widget-collapse-option" data-toggle="collapse">
                                </a>
                                <a href="#" class="widget-refresh-option">
                                </a>
                            </span>
                        </div>
                        <div class="smart-widget-inner table-responsive">
                            <div class="smart-widget-hidden-section">
                                <ul class="widget-color-list clearfix">
                                    <li style="background-color:#20232b;" data-color="widget-dark"></li>
                                    <li style="background-color:#4c5f70;" data-color="widget-dark-blue"></li>
                                    <li style="background-color:#23b7e5;" data-color="widget-blue"></li>
                                    <li style="background-color:#1fb5ac;" data-color="widget-green"></li>
                                    <li style="background-color:#edbc6c;" data-color="widget-yellow"></li>
                                    <li style="background-color:#fbc852;" data-color="widget-orange"></li>
                                    <li style="background-color:#e36159;" data-color="widget-red"></li>
                                    <li style="background-color:#7266ba;" data-color="widget-purple"></li>
                                    <li style="background-color:#f5f5f5;" data-color="widget-light-grey"></li>
                                    <li style="background-color:#fff;" data-color="reset"></li>
                                </ul>
                            </div>
                            <table class="table table-striped no-margin">
                                <thead>
                                <tr>
                                    <th class="text-center" style="width: 80px">序号</th>
                                    <th class="text-center">项目名称</th>
                                    <th class="text-center " >查新号</th>
                                    <th class="text-center"style="width: 200px">委托人</th>
                                    <th class="text-center"style="width: 200px">委托日期</th>
                                    <th class="text-center"style="width: 200px">查新报告</th>
                                    <th class="text-center"style="width: 200px">处理状态</th>
                                    <th class="text-center"style="width: 200px">{$num}</th>
                                </tr>
                                </thead>
                                <tbody>
                                <notempty name="_list">
                                    <volist name="_list" id="vo" key="key">
                                        <tr>
                                            <td><?php echo ((($_GET['p']?$_GET['p']:1)-1)*10+$key)?></td>
                                            <td class="mingchen"><a href="__APP__/Institution/Task/kjcx_browser/id/{$vo['id']}">{$vo.xmmc}</a></td>
                                            <td>{$vo.cxh}</td>
                                            <td >{$vo.wtrname}</td>
                                            <td title="{$vo.intime}">{$vo.intime|substr=0,-8}</td>
                                            <td>
                                                <if condition="$vo['cx_file_ids']">
                                                    <foreach name="vo.fileId" item="file" key="k">
                                                        <a href="{:U('Task/down_file',array('file_id'=>$file['fid']))}"><img src="__IMG__/unit/baogao.png" width='17px;' hright="17px;"></a>&nbsp;
                                                    </foreach>
                                                </if>
                                            </td>
                                            <td>{$vo.process_id|getTitleByProcessId}</td>
                                        </tr>
                                    </volist>
                                    <else/>
                                    <tr>
                                        <td colspan="11">对不起！暂时还没有数据！</td>
                                    </tr>
                                </notempty>
                                </tbody>
                            </table>
                            <div class="choose-page row">
                                {$_page}
                            </div>
                        </div><!-- ./smart-widget-inner -->
                    </div><!-- ./smart-widget -->
                </div><!-- ./col -->
            </div><!-- ./row -->
        </div><!-- ./padding-md -->
    </div><!-- /main-container -->
    <include file="Public:foot" />
</div><!-- /wrapper -->
<include file="Public/base_fc" />
<a href="#" class="scroll-to-top hidden-print"><i class="fa fa-chevron-up fa-lg"></i></a>
</body>
</html>
<block name="script">
    <script>
        $(function(){
            highlight_nav2('{:U("Account/simpleCount")}');

        })
    </script>
</block>
